package com.killers.cold.orm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.killers.cold.orm.entity.User;

/**
 * 用户实体对应mapper
 * @author 罗天豪
 * @date 2019/9/9
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户唯一标识查出用户
     * @param userId 用户唯一标识
     * @return 用户
     */
    User selectByUserId(String userId);
}
